package cn.bandeqing.sys.req;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class AuthoritySaveOrUpdateReq implements Serializable {

    private Long authorityId;

    @NotNull
    private Long authorityPid;

    @NotEmpty
    private String authorityName;

    @NotEmpty
    private String authorityCode;

}
